package cn.exrick.xboot.modules.transport.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "接单参数")
public class ReceiveOrdersParam {

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "订单车辆信息")
    @NotNull(message = "订单车辆信息不能为空")
    private List<ReceiveOrdersCarParam> orderCarInfoParamList;

    //中转仓点list
    @ApiModelProperty(value = "中转仓点,有序仓点id用“,”分隔 ,不需要添加起点，但要添加终点")
    @NotNull(message = "中转仓点list不能为空")
    private String nodeMap;
}